<template>
    <h1>APP</h1>
    <breadCrumb :data="data"></breadCrumb>
    <router-view></router-view>
</template>

<script setup>
import { ref,onMounted } from "vue"
import $bus from "./eventbus/bus"

let data = ref([])

onMounted(()=>{
    $bus.$on("breadChange",input=>{
        console.log(input);

        data.value = input
    })
})

</script>